{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/boogaloo/Dropbox/Wikipedia Study/PublicationProcess/Final Submission/alter_figure8_log.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 7 Nov 2019, 17:23:16
{txt}
{com}.  //cd "/Users/boogaloo/Dropbox/Wikipedia Study/jean_file/final_figures"
.  cd "/Users/boogaloo/Dropbox/Wikipedia Study/PublicationProcess/Final Submission"
{res}/Users/boogaloo/Dropbox/Wikipedia Study/PublicationProcess/Final Submission
{txt}
{com}.  use "/Users/boogaloo/Dropbox/Wikipedia Study/jean_file/final_figures/Alter_et_al_final_dataset.dta", clear
{txt}(Written by R.              )

{com}.  
.  label define status 0 "Absent" 1 "Committee" 2 "Officer" 3 "Leader/Honor"
{txt}
{com}.  label values status_3 status
{txt}
{com}.  label values status_3sec status
{txt}
{com}.  label values status_3 status
{txt}
{com}.  label define Gender 0 "Women" 1 "Men"
{txt}
{com}.  label values gender Gender
{txt}
{com}.  label variable gender "Gender"
{txt}
{com}. 
.  //encode b_typeinstitution if b_typeinstitution!="NA", generate(b_typeinst)
.  gen tt_many_pubs=0
{txt}
{com}.  replace tt_many_pubs=1 if tt_num_publications>2
{txt}(6,743 real changes made)

{com}.  
.  gen status_23_01=.
{txt}(11,310 missing values generated)

{com}. replace status_23_01=0 if num_status_3==0 & num_status_2==0
{txt}(10,474 real changes made)

{com}. replace status_23_01=1 if num_status_3>0 & num_status_3!=.
{txt}(593 real changes made)

{com}. replace status_23_01=1 if num_status_2>0 & num_status_2!=.
{txt}(230 real changes made)

{com}. 
. replace tt_num_publications=0 if tt_num_publications==.
{txt}(5,462 real changes made)

{com}.  
.  //rename journals to something more informative
.  label variable s_editor "s_editor.ajps"
{txt}
{com}.  label variable s_editor_3 "s_editor.poq"
{txt}
{com}.  label variable s_editor_in_chief_2 "s_editor.in.chief.PA"
{txt}
{com}.  label variable s_editor_6 "s_editor.APR"
{txt}
{com}.  label variable s_chair "s_chair_WP"
{txt}
{com}.  label variable s_editor_2 "s_editor.JCR"
{txt}
{com}.  label variable s_editor_in_chief "s_editor.in.chief.IO"
{txt}
{com}.  label variable s_editors "s_editors.CPS"
{txt}
{com}.  label variable s_editors_in_chief "s_editors.in.chief.CP"
{txt}
{com}.  
.  // analysis on status - focus on who is serving/how much
.  reg sec_pos_total  i.gender c.tt_num_publications i.status_3sec 

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}    11,277
{txt}{hline 13}{c +}{hline 34}   F(5, 11271)     = {res}  1134.17
{txt}       Model {c |} {res}  1061.9969         5   212.39938   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res}  2110.7572    11,271  .187273285   {txt}R-squared       ={res}    0.3347
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.3344
{txt}       Total {c |} {res}  3172.7541    11,276  .281372304   {txt}Root MSE        =   {res} .43275

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      sec_pos_total{col 21}{c |}      Coef.{col 33}   Std. Err.{col 45}      t{col 53}   P>|t|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 13}gender {c |}
{space 15}Men  {c |}{col 21}{res}{space 2}-.0551637{col 33}{space 2} .0089675{col 44}{space 1}   -6.15{col 53}{space 3}0.000{col 61}{space 4}-.0727416{col 74}{space 3}-.0375858
{txt}tt_num_publications {c |}{col 21}{res}{space 2}-.0040444{col 33}{space 2} .0023902{col 44}{space 1}   -1.69{col 53}{space 3}0.091{col 61}{space 4}-.0087296{col 74}{space 3} .0006408
{txt}{space 19} {c |}
{space 8}status_3sec {c |}
{space 9}Committee  {c |}{col 21}{res}{space 2} .8271716{col 33}{space 2} .0114112{col 44}{space 1}   72.49{col 53}{space 3}0.000{col 61}{space 4} .8048036{col 74}{space 3} .8495395
{txt}{space 11}Officer  {c |}{col 21}{res}{space 2} .4719779{col 33}{space 2} .0291947{col 44}{space 1}   16.17{col 53}{space 3}0.000{col 61}{space 4} .4147513{col 74}{space 3} .5292046
{txt}{space 6}Leader/Honor  {c |}{col 21}{res}{space 2} .2876905{col 33}{space 2} .0186192{col 44}{space 1}   15.45{col 53}{space 3}0.000{col 61}{space 4} .2511938{col 74}{space 3} .3241873
{txt}{space 19} {c |}
{space 14}_cons {c |}{col 21}{res}{space 2} .0423524{col 33}{space 2} .0080038{col 44}{space 1}    5.29{col 53}{space 3}0.000{col 61}{space 4} .0266635{col 74}{space 3} .0580412
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. outreg2 using alter_table8.doc, replace ctitle(Combined Dataset) alpha(0.001, 0.01, 0.05)
{txt}{stata `"shellout using `"alter_table8.doc"'"':alter_table8.doc}
{browse `"/Users/boogaloo/Dropbox/Wikipedia Study/PublicationProcess/Final Submission"' :dir}{com} : {txt}{stata `"seeout using "alter_table8.txt""':seeout}

{com}.  margins i.gender
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}    11,277
{txt}Model VCE{col 14}: {res}OLS

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}gender {c |}
{space 6}Women  {c |}{col 14}{res}{space 2} .1952996{col 26}{space 2} .0075075{col 37}{space 1}   26.01{col 46}{space 3}0.000{col 54}{space 4} .1805836{col 67}{space 3} .2100155
{txt}{space 8}Men  {c |}{col 14}{res}{space 2} .1401358{col 26}{space 2} .0048677{col 37}{space 1}   28.79{col 46}{space 3}0.000{col 54}{space 4} .1305943{col 67}{space 3} .1496774
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}.  marginsplot,  recast(bar) title(Combined dataset) ytitle( Section Leadership (Predicted Avg.)) ylabel(0(0.05)0.20) scheme(s1mono)  
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: gender{p_end}
{res}{txt}
{com}.   graph export alter_fig8a.tif, replace
{txt}(file alter_fig8a.tif written in TIFF format)

{com}.         graph export alter_fig8a.png, replace
{txt}(file alter_fig8a.png written in PNG format)

{com}.  reg sec_pos_total  i.gender c.tt_num_publications i.status_3sec if b_baseline==1 & b_positioncat!=5

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}     6,147
{txt}{hline 13}{c +}{hline 34}   F(5, 6141)      = {res}   589.80
{txt}       Model {c |} {res} 580.921298         5   116.18426   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 1209.70958     6,141  .196989021   {txt}R-squared       ={res}    0.3244
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.3239
{txt}       Total {c |} {res} 1790.63088     6,146  .291348987   {txt}Root MSE        =   {res} .44383

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      sec_pos_total{col 21}{c |}      Coef.{col 33}   Std. Err.{col 45}      t{col 53}   P>|t|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 13}gender {c |}
{space 15}Men  {c |}{col 21}{res}{space 2}-.0647842{col 33}{space 2} .0125138{col 44}{space 1}   -5.18{col 53}{space 3}0.000{col 61}{space 4}-.0893156{col 74}{space 3}-.0402529
{txt}tt_num_publications {c |}{col 21}{res}{space 2}-.0108379{col 33}{space 2} .0030163{col 44}{space 1}   -3.59{col 53}{space 3}0.000{col 61}{space 4}-.0167508{col 74}{space 3} -.004925
{txt}{space 19} {c |}
{space 8}status_3sec {c |}
{space 9}Committee  {c |}{col 21}{res}{space 2} .8377078{col 33}{space 2} .0172372{col 44}{space 1}   48.60{col 53}{space 3}0.000{col 61}{space 4} .8039169{col 74}{space 3} .8714987
{txt}{space 11}Officer  {c |}{col 21}{res}{space 2} .6242402{col 33}{space 2} .0413788{col 44}{space 1}   15.09{col 53}{space 3}0.000{col 61}{space 4} .5431233{col 74}{space 3} .7053571
{txt}{space 6}Leader/Honor  {c |}{col 21}{res}{space 2} .5431024{col 33}{space 2} .0294159{col 44}{space 1}   18.46{col 53}{space 3}0.000{col 61}{space 4} .4854369{col 74}{space 3} .6007678
{txt}{space 19} {c |}
{space 14}_cons {c |}{col 21}{res}{space 2} .0522649{col 33}{space 2} .0109987{col 44}{space 1}    4.75{col 53}{space 3}0.000{col 61}{space 4} .0307036{col 74}{space 3} .0738263
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}.  outreg2 using alter_table8.doc, append ctitle(Baseline Only) alpha(0.001, 0.01, 0.05)
{txt}{stata `"shellout using `"alter_table8.doc"'"':alter_table8.doc}
{browse `"/Users/boogaloo/Dropbox/Wikipedia Study/PublicationProcess/Final Submission"' :dir}{com} : {txt}{stata `"seeout using "alter_table8.txt""':seeout}

{com}.  margins i.gender
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}     6,147
{txt}Model VCE{col 14}: {res}OLS

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}gender {c |}
{space 6}Women  {c |}{col 14}{res}{space 2} .2013005{col 26}{space 2} .0105257{col 37}{space 1}   19.12{col 46}{space 3}0.000{col 54}{space 4} .1806664{col 67}{space 3} .2219347
{txt}{space 8}Men  {c |}{col 14}{res}{space 2} .1365163{col 26}{space 2} .0067302{col 37}{space 1}   20.28{col 46}{space 3}0.000{col 54}{space 4} .1233228{col 67}{space 3} .1497098
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}.  marginsplot, recast(bar) title(Baseline dataset) ytitle( Section Leadership (Predicted Avg.)) ylabel(0(0.05)0.20) scheme(s1mono)  
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: gender{p_end}
{res}{txt}
{com}.   graph export alter_fig8b.tif, replace
{txt}(file alter_fig8b.tif written in TIFF format)

{com}.   graph export alter_fig8b.png, replace
{txt}(file alter_fig8b.png written in PNG format)

{com}.  
.  
. 
. 
. 
.   
.   ///////////////// Appendix 
> 
. // A4, T1:  
.     // logit analysis: gender overall
.  logit status01  i.gender  

{res}{txt}Iteration 0:{space 3}log likelihood = {res: -5076.307}  
Iteration 1:{space 3}log likelihood = {res:-5074.7752}  
Iteration 2:{space 3}log likelihood = {res:-5074.7746}  
Iteration 3:{space 3}log likelihood = {res:-5074.7746}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}    11,309
{txt}{col 49}LR chi2({res}1{txt}){col 67}= {res}      3.06
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0800
{txt}Log likelihood = {res}-5074.7746{txt}{col 49}Pseudo R2{col 67}= {res}    0.0003

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    status01{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}gender {c |}
{space 8}Men  {c |}{col 14}{res}{space 2} .0977998{col 26}{space 2} .0561322{col 37}{space 1}    1.74{col 46}{space 3}0.081{col 54}{space 4}-.0122173{col 67}{space 3}  .207817
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-1.686399{col 26}{space 2} .0475131{col 37}{space 1}  -35.49{col 46}{space 3}0.000{col 54}{space 4}-1.779523{col 67}{space 3}-1.593275
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.  outreg2 using alter_A4_table1.doc, replace ctitle(Combined Dataset) alpha(0.001, 0.01, 0.05)
{txt}{stata `"shellout using `"alter_A4_table1.doc"'"':alter_A4_table1.doc}
{browse `"/Users/boogaloo/Dropbox/Wikipedia Study/PublicationProcess/Final Submission"' :dir}{com} : {txt}{stata `"seeout using "alter_A4_table1.txt""':seeout}

{com}.  logit status01 i.gender  if b_baseline==1 & b_positioncat!=5

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-2744.5122}  
Iteration 1:{space 3}log likelihood = {res:-2744.4539}  
Iteration 2:{space 3}log likelihood = {res:-2744.4539}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}     6,147
{txt}{col 49}LR chi2({res}1{txt}){col 67}= {res}      0.12
{txt}{col 49}Prob > chi2{col 67}= {res}    0.7328
{txt}Log likelihood = {res}-2744.4539{txt}{col 49}Pseudo R2{col 67}= {res}    0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    status01{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}gender {c |}
{space 8}Men  {c |}{col 14}{res}{space 2} -.025824{col 26}{space 2} .0755476{col 37}{space 1}   -0.34{col 46}{space 3}0.732{col 54}{space 4}-.1738946{col 67}{space 3} .1222465
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-1.609438{col 26}{space 2} .0634574{col 37}{space 1}  -25.36{col 46}{space 3}0.000{col 54}{space 4}-1.733812{col 67}{space 3}-1.485064
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.  outreg2 using alter_A4_table1.doc, append ctitle(Baseline Dataset) alpha(0.001, 0.01, 0.05)
{txt}{stata `"shellout using `"alter_A4_table1.doc"'"':alter_A4_table1.doc}
{browse `"/Users/boogaloo/Dropbox/Wikipedia Study/PublicationProcess/Final Submission"' :dir}{com} : {txt}{stata `"seeout using "alter_A4_table1.txt""':seeout}

{com}. 
. 
.     //appendix 4 table 2
.  mlogit status_3 i.gender   

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-6848.3665}  
Iteration 1:{space 3}log likelihood = {res:-6823.6281}  
Iteration 2:{space 3}log likelihood = {res:-6823.0729}  
Iteration 3:{space 3}log likelihood = {res:-6823.0727}  
{res}
{txt}Multinomial logistic regression{col 49}Number of obs{col 67}= {res}    11,309
{txt}{col 49}LR chi2({res}3{txt}){col 67}= {res}     50.59
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-6823.0727{txt}{col 49}Pseudo R2{col 67}= {res}    0.0037

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    status_3{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}{res}Absent      {col 14}{txt}{c |}  (base outcome)
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Committee    {txt}{c |}
{space 6}gender {c |}
{space 8}Men  {c |}{col 14}{res}{space 2}-.0782459{col 26}{space 2} .0700138{col 37}{space 1}   -1.12{col 46}{space 3}0.264{col 54}{space 4}-.2154703{col 67}{space 3} .0589786
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2.141655{col 26}{space 2} .0579287{col 37}{space 1}  -36.97{col 46}{space 3}0.000{col 54}{space 4}-2.255193{col 67}{space 3}-2.028117
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Officer      {txt}{c |}
{space 6}gender {c |}
{space 8}Men  {c |}{col 14}{res}{space 2}-.3110974{col 26}{space 2} .1384394{col 37}{space 1}   -2.25{col 46}{space 3}0.025{col 54}{space 4}-.5824337{col 67}{space 3}-.0397611
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-3.507145{col 26}{space 2} .1100792{col 37}{space 1}  -31.86{col 46}{space 3}0.000{col 54}{space 4}-3.722897{col 67}{space 3}-3.291394
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Leader_Honor {txt}{c |}
{space 6}gender {c |}
{space 8}Men  {c |}{col 14}{res}{space 2}    .6682{col 26}{space 2} .1091221{col 37}{space 1}    6.12{col 46}{space 3}0.000{col 54}{space 4} .4543246{col 67}{space 3} .8820753
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-3.276968{col 26}{space 2} .0984811{col 37}{space 1}  -33.28{col 46}{space 3}0.000{col 54}{space 4}-3.469987{col 67}{space 3}-3.083948
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.  outreg2 using alter_A4_table_2_multinomial_tt1.doc, replace ctitle(Combined Dataset) alpha(0.001, 0.01, 0.05)
{txt}{stata `"shellout using `"alter_A4_table_2_multinomial_tt1.doc"'"':alter_A4_table_2_multinomial_tt1.doc}
{browse `"/Users/boogaloo/Dropbox/Wikipedia Study/PublicationProcess/Final Submission"' :dir}{com} : {txt}{stata `"seeout using "alter_A4_table_2_multinomial_tt1.txt""':seeout}

{com}. 
.  mlogit status_3 i.gender  if b_baseline==1 & b_positioncat!=5

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-3668.1414}  
Iteration 1:{space 3}log likelihood = {res:-3658.0431}  
Iteration 2:{space 3}log likelihood = {res:-3657.8811}  
Iteration 3:{space 3}log likelihood = {res: -3657.881}  
{res}
{txt}Multinomial logistic regression{col 49}Number of obs{col 67}= {res}     6,147
{txt}{col 49}LR chi2({res}3{txt}){col 67}= {res}     20.52
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0001
{txt}Log likelihood = {res} -3657.881{txt}{col 49}Pseudo R2{col 67}= {res}    0.0028

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    status_3{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}{res}Absent      {col 14}{txt}{c |}  (base outcome)
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Committee    {txt}{c |}
{space 6}gender {c |}
{space 8}Men  {c |}{col 14}{res}{space 2}-.1751271{col 26}{space 2} .0915334{col 37}{space 1}   -1.91{col 46}{space 3}0.056{col 54}{space 4}-.3545292{col 67}{space 3}  .004275
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2.008214{col 26}{space 2}  .075307{col 37}{space 1}  -26.67{col 46}{space 3}0.000{col 54}{space 4}-2.155813{col 67}{space 3}-1.860615
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Officer      {txt}{c |}
{space 6}gender {c |}
{space 8}Men  {c |}{col 14}{res}{space 2}-.3326176{col 26}{space 2} .1892768{col 37}{space 1}   -1.76{col 46}{space 3}0.079{col 54}{space 4}-.7035934{col 67}{space 3} .0383582
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-3.499869{col 26}{space 2} .1513055{col 37}{space 1}  -23.13{col 46}{space 3}0.000{col 54}{space 4}-3.796422{col 67}{space 3}-3.203315
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Leader_Honor {txt}{c |}
{space 6}gender {c |}
{space 8}Men  {c |}{col 14}{res}{space 2} .5324653{col 26}{space 2} .1560065{col 37}{space 1}    3.41{col 46}{space 3}0.001{col 54}{space 4} .2266982{col 67}{space 3} .8382324
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-3.336237{col 26}{space 2}  .139782{col 37}{space 1}  -23.87{col 46}{space 3}0.000{col 54}{space 4}-3.610205{col 67}{space 3}-3.062269
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.  outreg2 using alter_A4_table_2_multinomial_tt1.doc, append ctitle(Baseline Dataset) alpha(0.001, 0.01, 0.05)
{txt}{stata `"shellout using `"alter_A4_table_2_multinomial_tt1.doc"'"':alter_A4_table_2_multinomial_tt1.doc}
{browse `"/Users/boogaloo/Dropbox/Wikipedia Study/PublicationProcess/Final Submission"' :dir}{com} : {txt}{stata `"seeout using "alter_A4_table_2_multinomial_tt1.txt""':seeout}

{com}.  
.      //appendix 4 table 3
.  mlogit status_3sec i.gender   

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-8283.4899}  
Iteration 1:{space 3}log likelihood = {res:-8247.9262}  
Iteration 2:{space 3}log likelihood = {res:-8247.2571}  
Iteration 3:{space 3}log likelihood = {res:-8247.2559}  
Iteration 4:{space 3}log likelihood = {res:-8247.2559}  
{res}
{txt}Multinomial logistic regression{col 49}Number of obs{col 67}= {res}    11,309
{txt}{col 49}LR chi2({res}3{txt}){col 67}= {res}     72.47
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-8247.2559{txt}{col 49}Pseudo R2{col 67}= {res}    0.0044

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} status_3sec{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}{res}Absent      {col 14}{txt}{c |}  (base outcome)
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Committee    {txt}{c |}
{space 6}gender {c |}
{space 8}Men  {c |}{col 14}{res}{space 2}-.2642925{col 26}{space 2} .0544814{col 37}{space 1}   -4.85{col 46}{space 3}0.000{col 54}{space 4} -.371074{col 67}{space 3}-.1575109
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-1.377636{col 26}{space 2} .0443019{col 37}{space 1}  -31.10{col 46}{space 3}0.000{col 54}{space 4}-1.464466{col 67}{space 3}-1.290806
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Officer      {txt}{c |}
{space 6}gender {c |}
{space 8}Men  {c |}{col 14}{res}{space 2}-.3510561{col 26}{space 2} .1386348{col 37}{space 1}   -2.53{col 46}{space 3}0.011{col 54}{space 4}-.6227754{col 67}{space 3}-.0793368
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-3.393323{col 26}{space 2} .1102722{col 37}{space 1}  -30.77{col 46}{space 3}0.000{col 54}{space 4}-3.609453{col 67}{space 3}-3.177194
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Leader_Honor {txt}{c |}
{space 6}gender {c |}
{space 8}Men  {c |}{col 14}{res}{space 2} .6282412{col 26}{space 2} .1093699{col 37}{space 1}    5.74{col 46}{space 3}0.000{col 54}{space 4} .4138802{col 67}{space 3} .8426022
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-3.163146{col 26}{space 2} .0986968{col 37}{space 1}  -32.05{col 46}{space 3}0.000{col 54}{space 4}-3.356588{col 67}{space 3}-2.969704
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.  outreg2 using alter_A4_table_2_multinomial_tt2.doc, replace ctitle(Combined Dataset) alpha(0.001, 0.01, 0.05)
{txt}{stata `"shellout using `"alter_A4_table_2_multinomial_tt2.doc"'"':alter_A4_table_2_multinomial_tt2.doc}
{browse `"/Users/boogaloo/Dropbox/Wikipedia Study/PublicationProcess/Final Submission"' :dir}{com} : {txt}{stata `"seeout using "alter_A4_table_2_multinomial_tt2.txt""':seeout}

{com}. 
.  mlogit status_3sec i.gender  if b_baseline==1 & b_positioncat!=5

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-4232.4385}  
Iteration 1:{space 3}log likelihood = {res:-4221.6264}  
Iteration 2:{space 3}log likelihood = {res:-4221.4656}  
Iteration 3:{space 3}log likelihood = {res:-4221.4654}  
{res}
{txt}Multinomial logistic regression{col 49}Number of obs{col 67}= {res}     6,147
{txt}{col 49}LR chi2({res}3{txt}){col 67}= {res}     21.95
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0001
{txt}Log likelihood = {res}-4221.4654{txt}{col 49}Pseudo R2{col 67}= {res}    0.0026

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} status_3sec{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}{res}Absent      {col 14}{txt}{c |}  (base outcome)
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Committee    {txt}{c |}
{space 6}gender {c |}
{space 8}Men  {c |}{col 14}{res}{space 2}-.1751111{col 26}{space 2} .0775544{col 37}{space 1}   -2.26{col 46}{space 3}0.024{col 54}{space 4}-.3271149{col 67}{space 3}-.0231074
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-1.549573{col 26}{space 2}  .063998{col 37}{space 1}  -24.21{col 46}{space 3}0.000{col 54}{space 4}-1.675007{col 67}{space 3}-1.424139
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Officer      {txt}{c |}
{space 6}gender {c |}
{space 8}Men  {c |}{col 14}{res}{space 2}-.3419612{col 26}{space 2} .1894415{col 37}{space 1}   -1.81{col 46}{space 3}0.071{col 54}{space 4}-.7132598{col 67}{space 3} .0293373
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} -3.43327{col 26}{space 2} .1514582{col 37}{space 1}  -22.67{col 46}{space 3}0.000{col 54}{space 4}-3.730123{col 67}{space 3}-3.136417
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Leader_Honor {txt}{c |}
{space 6}gender {c |}
{space 8}Men  {c |}{col 14}{res}{space 2} .5231217{col 26}{space 2} .1562063{col 37}{space 1}    3.35{col 46}{space 3}0.001{col 54}{space 4}  .216963{col 67}{space 3} .8292804
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-3.269638{col 26}{space 2} .1399473{col 37}{space 1}  -23.36{col 46}{space 3}0.000{col 54}{space 4} -3.54393{col 67}{space 3}-2.995347
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.  outreg2 using alter_A4_table_2_multinomial_tt2.doc, append ctitle(Baseline Dataset) alpha(0.001, 0.01, 0.05)
{txt}{stata `"shellout using `"alter_A4_table_2_multinomial_tt2.doc"'"':alter_A4_table_2_multinomial_tt2.doc}
{browse `"/Users/boogaloo/Dropbox/Wikipedia Study/PublicationProcess/Final Submission"' :dir}{com} : {txt}{stata `"seeout using "alter_A4_table_2_multinomial_tt2.txt""':seeout}

{com}.  
.  
.  //appendix 4 table 4
.  ologit status_3 i.gender   

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-6848.3665}  
Iteration 1:{space 3}log likelihood = {res:-6845.9103}  
Iteration 2:{space 3}log likelihood = {res:-6845.9087}  
Iteration 3:{space 3}log likelihood = {res:-6845.9087}  
{res}
{txt}Ordered logistic regression{col 49}Number of obs{col 67}= {res}    11,309
{txt}{col 49}LR chi2({res}1{txt}){col 67}= {res}      4.92
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0266
{txt}Log likelihood = {res}-6845.9087{txt}{col 49}Pseudo R2{col 67}= {res}    0.0004

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    status_3{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}gender {c |}
{space 8}Men  {c |}{col 14}{res}{space 2}  .123097{col 26}{space 2} .0558627{col 37}{space 1}    2.20{col 46}{space 3}0.028{col 54}{space 4} .0136081{col 67}{space 3} .2325858
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}/cut1 {c |}{col 14}{res}{space 2} 1.704028{col 26}{space 2} .0473201{col 54}{space 4} 1.611283{col 67}{space 3} 1.796774
{txt}{space 7}/cut2 {c |}{col 14}{res}{space 2} 2.631963{col 26}{space 2} .0539791{col 54}{space 4} 2.526165{col 67}{space 3}  2.73776
{txt}{space 7}/cut3 {c |}{col 14}{res}{space 2} 2.981603{col 26}{space 2} .0582209{col 54}{space 4} 2.867492{col 67}{space 3} 3.095714
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.  outreg2 using alter_A4_table_2_ologit_tt1.doc, replace ctitle(Combined Dataset) alpha(0.001, 0.01, 0.05)
{txt}{stata `"shellout using `"alter_A4_table_2_ologit_tt1.doc"'"':alter_A4_table_2_ologit_tt1.doc}
{browse `"/Users/boogaloo/Dropbox/Wikipedia Study/PublicationProcess/Final Submission"' :dir}{com} : {txt}{stata `"seeout using "alter_A4_table_2_ologit_tt1.txt""':seeout}

{com}. 
.  ologit status_3 i.gender  if b_baseline==1 & b_positioncat!=5

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-3668.1414}  
Iteration 1:{space 3}log likelihood = {res: -3668.141}  
Iteration 2:{space 3}log likelihood = {res: -3668.141}  
{res}
{txt}Ordered logistic regression{col 49}Number of obs{col 67}= {res}     6,147
{txt}{col 49}LR chi2({res}1{txt}){col 67}= {res}      0.00
{txt}{col 49}Prob > chi2{col 67}= {res}    0.9782
{txt}Log likelihood = {res} -3668.141{txt}{col 49}Pseudo R2{col 67}= {res}    0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    status_3{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}gender {c |}
{space 8}Men  {c |}{col 14}{res}{space 2}-.0020544{col 26}{space 2} .0751748{col 37}{space 1}   -0.03{col 46}{space 3}0.978{col 54}{space 4}-.1493943{col 67}{space 3} .1452855
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}/cut1 {c |}{col 14}{res}{space 2} 1.626256{col 26}{space 2} .0631849{col 54}{space 4} 1.502416{col 67}{space 3} 1.750096
{txt}{space 7}/cut2 {c |}{col 14}{res}{space 2} 2.668884{col 26}{space 2} .0740312{col 54}{space 4} 2.523786{col 67}{space 3} 2.813983
{txt}{space 7}/cut3 {c |}{col 14}{res}{space 2} 3.063546{col 26}{space 2} .0813785{col 54}{space 4} 2.904047{col 67}{space 3} 3.223045
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.  outreg2 using alter_A4_table_2_ologit_tt1.doc, append ctitle(Baseline Dataset) alpha(0.001, 0.01, 0.05)
{txt}{stata `"shellout using `"alter_A4_table_2_ologit_tt1.doc"'"':alter_A4_table_2_ologit_tt1.doc}
{browse `"/Users/boogaloo/Dropbox/Wikipedia Study/PublicationProcess/Final Submission"' :dir}{com} : {txt}{stata `"seeout using "alter_A4_table_2_ologit_tt1.txt""':seeout}

{com}.  
.  
.  log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/boogaloo/Dropbox/Wikipedia Study/PublicationProcess/Final Submission/alter_figure8_log.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 7 Nov 2019, 17:23:27
{txt}{.-}
{smcl}
{txt}{sf}{ul off}